package ru.sgu.diploma.practic;

import org.junit.Test;
import ru.sgu.diploma.practic.service.Application;
import ru.sgu.diploma.practic.service.impl.ApplicationImpl;

/**
 * User: datmakin
 * Date: 15.03.11
 * Email: atmakin.dv@gmail.com
 */
public class ApplicationTestCase {

    @Test
    public void trueTest() {

    }

    public void nextTokenGeneratorTest() {
        ApplicationImpl app = new ApplicationImpl();
        String input[] = {"1", "2", "3", "4", "5", "6", "7"};
        for (int i = 1; i <= input.length; i++) {
            String[] result = app.getNextToken(input, i);
            for (int j = 0; j < result.length; j++) {
                System.out.print(result[j]);
            }
            System.out.print("\n");
        }
    }
}
